package o2o.dao.PO.report;

//  店铺统计的实体
public class ShopReportStatistics {
    private int id;   // 主键id
    private String shopName; // 店铺名字
    private String shopRole; // 商铺类型  （1 直营店 2 经销商）
    private Integer successOrderCount;  // 订单数量
    private Double shopTurnover;  //    支付金额
    private Long createTime;   // 更新时间
    private String province;   // 店铺省份
    private String city;    //商铺地区
    private String country;  // 商铺区域
    private Double deliveryPrice;   //  配送费
    private int errorOrderCount;    //  失败订单数量
    private Double errorOrderMoney;   //  退款订单金额
    private Integer orderStatus;     // 订单的状态 9是完成  4 是退货退款
    // private int totalCount;           //  用于分页的size
    private Long orderTime;         // 订单的时间
    private Double totalMoney;    // 总金额
    private Double ptsr;        //  平台收入
    private String payType;   //  支付方式 wx wx_xcx alipay

    public String getPayType() {
        return payType;
    }

    public ShopReportStatistics setPayType(String payType) {
        this.payType = payType;
        return this;
    }

    public Double getPtsr() {
        return ptsr;
    }

    public ShopReportStatistics setPtsr(Double ptsr) {
        this.ptsr = ptsr;
        return this;
    }

    public int getId() {
        return id;
    }

    public ShopReportStatistics setId(int id) {
        this.id = id;
        return this;
    }

    public String getShopName() {
        return shopName;
    }

    public ShopReportStatistics setShopName(String shopName) {
        this.shopName = shopName;
        return this;
    }

    public String getShopRole() {
        return shopRole;
    }

    public ShopReportStatistics setShopRole(String shopRole) {
        this.shopRole = shopRole;
        return this;
    }

    public Integer getSuccessOrderCount() {
        return successOrderCount;
    }

    public ShopReportStatistics setSuccessOrderCount(Integer successOrderCount) {
        this.successOrderCount = successOrderCount;
        return this;
    }

    public Double getShopTurnover() {
        return shopTurnover;
    }

    public ShopReportStatistics setShopTurnover(Double shopTurnover) {
        this.shopTurnover = shopTurnover;
        return this;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public ShopReportStatistics setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getProvince() {
        return province;
    }

    public ShopReportStatistics setProvince(String province) {
        this.province = province;
        return this;
    }

    public String getCity() {
        return city;
    }

    public ShopReportStatistics setCity(String city) {
        this.city = city;
        return this;
    }

    public String getCountry() {
        return country;
    }

    public ShopReportStatistics setCountry(String country) {
        this.country = country;
        return this;
    }


    public Double getDeliveryPrice() {
        return deliveryPrice;
    }

    public ShopReportStatistics setDeliveryPrice(Double deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
        return this;
    }

    public int getErrorOrderCount() {
        return errorOrderCount;
    }

    public ShopReportStatistics setErrorOrderCount(int errorOrderCount) {
        this.errorOrderCount = errorOrderCount;
        return this;
    }

    public Double getErrorOrderMoney() {
        return errorOrderMoney;
    }

    public ShopReportStatistics setErrorOrderMoney(Double errorOrderMoney) {
        this.errorOrderMoney = errorOrderMoney;
        return this;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public ShopReportStatistics setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public Long getOrderTime() {
        return orderTime;
    }

    public ShopReportStatistics setOrderTime(Long orderTime) {
        this.orderTime = orderTime;
        return this;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public ShopReportStatistics setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
        return this;
    }
}